<!-- 右侧  -->
<div id="page-inner">
    <div class="panel-body">
        <div class="row">
            <div class="col-md-12">
                <h1 class="page-header">
                    废水评估
                </h1>
            </div>
        </div>
        <div class="row"></div>
        <div id="toolbar" class="btn-group">
            <button id="btn_add" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增
            </button>
            <button id="btn_edit" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>编辑
            </button>
            <button id="btn_delete" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
            </button>
            <button id="btn_return" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span>返回
            </button>
        </div>
    </div>
    <table id="data_table" class="table-striped table-hover text-nowrap"></table>
    <div style="position:absolute;left:47%;top:96%;">
        <button id="submit" style="width: 80px;height: 30px; background: #1E90FF;border-radius:5px">提交</button>
        <button id="cancel" style="width: 80px;height: 30px;">取消</button>
    </div>
</div>

<!-- 添加、编辑框 -->
<div class="modal fade" id="data" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="title"></h4>
            </div>
            <div id="data_body" class="modal-body">
                <div class="form-group">
                    <label>企业类型</label>
                    <select class="form-control" id="company_type" onchange="companyTypeChange()">
                        <option value="">--请选择企业类型--</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>污染物项目</label>
                    <select class="form-control" id="pollutants" onchange="pollutantsChange()" onclick="pollutantsCheck()">
                        <option value="">--请选择污染物项目--</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>一般/特别要求</label>
                    <select class="form-control" id="requirement" onclick="requirementCheck()"
                            onchange="requirementChange()">
                        <option value="">--请选择一般/特别要求--</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>排放类型</label>
                    <select class="form-control" id="discharge_type" onclick="dischargeTypeCheck()"
                            onchange="dischargeTypeChange()">
                        <option value="">--请选择排放类型--</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>限值</label>
                    <input class="form-control" placeholder="" id="limit_value" type="text" disabled="disabled">
                </div>
                <div class="form-group">
                    <label>单位</label>
                    <input class="form-control" placeholder="" id="unit" type="text" disabled="disabled">
                </div>
                <div class="form-group">
                    <label>排放浓度</label>
                    <input class="form-control" placeholder="" id="discharge_concentration" type="number" step="0.01">
                </div>
                <div class="form-group">
                    <label>污染物排放监控位置</label>
                    <input class="form-control" placeholder="必填" id="position" type="text" disabled="disabled">
                </div>
                <div class="form-group">
                    <label>备注</label>
                    <input class="form-control" placeholder="" id="note" type="text">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="data_submit">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<script src="pages/js/waste_water_sub.js"></script>
